﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using TarreOA.TarreOAModels;
using TarreOA.TarreOABLL;

public partial class admin_ShowClient : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Client client = ClientManager.FindByClientId(Convert.ToInt32(Request.QueryString["cid"]));
            lblClientName.Text = client.ClientName;
            lblTelephone.Text = client.Telephone;
            lblFaxes.Text = client.Faxes;
            lblURL.Text = client.Url;
            lblEmail.Text = client.Email;
            lblAddress.Text = client.Address;
            lblPostalcode.Text = client.Postalcode;
            lblRemark.Text = client.Remark;
        }
    }
}
